package cn.tom.dao;

import cn.tom.entity.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleDao {
    List<Integer> findByUidRoles(int uid);
    List<Role> findAllRole();
    Role findByUidRole(int uid);
    Role findByRoleId(int id);
}
